package com.talkyun.utils.test;

import com.talkyun.utils.loader.HttpWithCacheLoader;
import junit.framework.TestCase;
import org.junit.Test;

public class HttpWithCacheLoaderTestCase extends TestCase {

    @Test
    public void testLoad() {
        HttpWithCacheLoader loader = new HttpWithCacheLoader();
        String text = loader.load("https://openx.oss-cn-shenzhen.aliyuncs.com/data/status.json", null, 3000, 3);
        System.out.println(text);
    }
}
